//
//  GSDKServicesManager.h
//  GameSDK
//
//  Created by Johnny on 2017/7/28.
//  Copyright © 2017年 Johnny. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GSDKRequestModel.h"
#import "GSDKResponseModel.h"
typedef void (^GSDKCompletionBlock)(id responseObject);

@interface GSDKServicesManager : NSObject
- (void)request:(GSDKModel *)model andCompletionBlock:(GSDKCompletionBlock)block;

- (void)iapRequest:(GSDKModel *)model andTime:(float)time andCompletionBlock:(GSDKCompletionBlock)block;

- (void)oneTimeRequest:(GSDKModel *)model andCompletionBlock:(GSDKCompletionBlock)block;

- (void)urlRequest:(NSString *)urlString completionBlock:(GSDKCompletionBlock)completionBlock failureBlock:(void (^)())failureBlock;
@end
